<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8"/>
	<title>Vue基础</title>
	<script src="vue.js" type="text/javascript"></script>
</head>
<body>
	<div id="app">
		<h2 v-html="content"></h2>
		<h2 v-text="content"></h2>
	</div>
<script>
	var app=new Vue({
		el:"#app",
		data:{
			//content:"百度官网"
			content:"<a href='http://www.baidu.com'>百度</a>"
		}
	})
</script>

</body>
</html>

